Component({
  properties: {
    title: {
      type: String,
      value: '提示'
    },
    content: {
      type: String,
      value: '确定进行该操作吗？'
    },
    leftBtn: {
      type: String,
      value: '取消'
    },
    rightBtn: {
      type: String,
      value: '确定'
    },
    left_btnColor: {
      type: String,
      value: '#666666'
    },
    right_btnColor: {
      type: String,
      value: '#014493'
    },
    isCancel: {
      type: [Boolean, String],
      value: true
    }
  },
  data: {
  },
  methods: {
    _cancelEvent: function(){
      this.triggerEvent('leftEvent');
    },
    _okEvent: function(){
      this.triggerEvent('rightEvent');
    },
    // 禁止穿透
    noMove () {}
  }
})